cmake_minimum_required(VERSION 3.0.0)
project(hexFileRead VERSION 0.1.0 LANGUAGES C CXX)

include(CTest)
enable_testing()

include_directories(./Includes
                    ./Sources
                    ./User_Includes
                    ./User_Sources)
                    
aux_source_directory(./Includes INC_LIST)
aux_source_directory(./Sources  SRC_LIST)
aux_source_directory(./User_Sources USR_SRC_LIST)
aux_source_directory(./User_Includes USR_INC_LIST)

add_library(${PROJECT_NAME} SHARED 
                                    ${INC_LIST} 
                                    ${SRC_LIST}
                                    ${USR_SRC_LIST}
                                    ${USR_INC_LIST}
                                    ./Sources/capldll.def)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
